import request from '@/utils/request'

// 查询钢筋焊接接头试验检测报告详情列表
export function listGjhjjtbgBsDetail(query) {
  return request({
    url: '/report_gc/gjhjjtbgBsDetail/list',
    method: 'get',
    params: query
  })
}

// 查询钢筋焊接接头试验检测报告详情详细
export function getGjhjjtbgBsDetail(id) {
  return request({
    url: '/report_gc/gjhjjtbgBsDetail/' + id,
    method: 'get'
  })
}

// 新增钢筋焊接接头试验检测报告详情
export function addGjhjjtbgBsDetail(data) {
  return request({
    url: '/report_gc/gjhjjtbgBsDetail',
    method: 'post',
    data: data
  })
}

// 修改钢筋焊接接头试验检测报告详情
export function updateGjhjjtbgBsDetail(data) {
  return request({
    url: '/report_gc/gjhjjtbgBsDetail',
    method: 'put',
    data: data
  })
}

// 删除钢筋焊接接头试验检测报告详情
export function delGjhjjtbgBsDetail(id) {
  return request({
    url: '/report_gc/gjhjjtbgBsDetail/' + id,
    method: 'delete'
  })
}
